/*
 * @Descripttion: 字体大小样式
 * @Author: 赖维健（lwj1994）
 * @Date: 2021-07-07 16:57:21
 * @LastEditors: 赖维健(lwj1994)
 * @LastEditTime: 2021-11-04 10:08:28
 */

 /* 字体大小 */
.generate-font-size(100);

.generate-font-size(@n, @i: 24) when (@i =< @n) {
  .font-size--@{i} {
    font-size: ~'@{i}px' !important;
  }
  .generate-font-size(@n, (@i + 1));
}

/* 字体加粗 */
.generate-font-weight(800);

.generate-font-weight(@n, @i: 100) when (@i =< @n) {
  .font-weight--@{i} {
    font-weight: ~'@{i}';
  }
  .generate-font-weight(@n, (@i + 100));
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}